<!DOCTYPE html>
<html lang="en">

<head>

  <!-- Basic -->
  <meta charset="UTF-8" />

  <title>自夏学院 | Fire - Admin Template</title>

  <!-- Mobile Metas -->
  <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />

  <!-- Import google fonts -->

  <!-- Favicon and touch icons -->
  <link rel="shortcut icon" href="../assets/ico/favicon.ico" type="image/x-icon" />
  <link rel="apple-touch-icon" href="../assets/ico/apple-touch-icon.png" />
  <link rel="apple-touch-icon" sizes="57x57" href="../assets/ico/apple-touch-icon-57x57.png" />
  <link rel="apple-touch-icon" sizes="72x72" href="../assets/ico/apple-touch-icon-72x72.png" />
  <link rel="apple-touch-icon" sizes="76x76" href="../assets/ico/apple-touch-icon-76x76.png" />
  <link rel="apple-touch-icon" sizes="114x114" href="../assets/ico/apple-touch-icon-114x114.png" />
  <link rel="apple-touch-icon" sizes="120x120" href="../assets/ico/apple-touch-icon-120x120.png" />
  <link rel="apple-touch-icon" sizes="144x144" href="../assets/ico/apple-touch-icon-144x144.png" />
  <link rel="apple-touch-icon" sizes="152x152" href="../assets/ico/apple-touch-icon-152x152.png" />

  <!-- start: CSS file-->

  <!-- Vendor CSS-->
  <link href="../assets/vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet" />
  <link href="../assets/vendor/skycons/css/skycons.css" rel="stylesheet" />
  <link href="../assets/vendor/font-awesome/css/font-awesome.min.css" rel="stylesheet" />
  <link href="../assets/vendor/css/pace.preloader.css" rel="stylesheet" />

  <!-- Plugins CSS-->
  <link href="../assets/plugins/jquery-ui/css/jquery-ui-1.10.4.min.css" rel="stylesheet" />
  <link href="../assets/plugins/scrollbar/css/mCustomScrollbar.css" rel="stylesheet" />
  <link href="../assets/plugins/bootkit/css/bootkit.css" rel="stylesheet" />
  <link href="../assets/plugins/magnific-popup/css/magnific-popup.css" rel="stylesheet" />
  <link href="../assets/plugins/fullcalendar/css/fullcalendar.css" rel="stylesheet" />
  <link href="../assets/plugins/jqvmap/jqvmap.css" rel="stylesheet" />

  <!-- Theme CSS -->
  <link href="../assets/css/jquery.mmenu.css" rel="stylesheet" />

  <!-- Page CSS -->
  <link href="../assets/css/style.css" rel="stylesheet" />
  <link href="../assets/css/add-ons.min.css" rel="stylesheet" />

  <!-- end: CSS file-->

  <!-- Head Libs -->
  <script src="../assets/plugins/modernizr/js/modernizr.js"></script>

  <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
  <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
  <!--[if lt IE 9]>
  <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
  <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
  <![endif]-->

</head>

<body>

<!-- Start: Header -->
<div class="navbar" role="navigation">
  <div class="container-fluid container-nav">
    <!-- Navbar Action -->
    <ul class="nav navbar-nav navbar-actions navbar-left">
      <li class="visible-md visible-lg"><a href="#" id="main-menu-toggle"><i class="fa fa-th-large"></i></a></li>
      <li class="visible-xs visible-sm"><a href="#" id="sidebar-menu"><i class="fa fa-navicon"></i></a></li>
    </ul>
    <!-- Navbar Left -->
    <div class="navbar-left">
      <!-- Search Form -->
      <form class="search navbar-form">
        <div class="input-group input-search">
          <input type="text" class="form-control bk-radius" name="q" id="q" placeholder="Search...">
          <span class="input-group-btn">
								<button class="btn btn-default" type="submit"><i class="fa fa-search"></i></button>
							</span>
        </div>
      </form>
    </div>
    <!-- Navbar Right -->
    <div class="navbar-right">
      <!-- Notifications -->

      <!-- End Notifications -->
      <!-- Userbox -->
      <div class="userbox">
        <a href="#" class="dropdown-toggle" data-toggle="dropdown">
          <figure class="profile-picture hidden-xs">
            <img src="img/uerimg.jpg" class="img-circle" alt="" />
          </figure>
          <div class="profile-info">
            <span class="name">John Smith Doe</span>
            <span class="role"><i class="fa fa-circle bk-fg-success"></i> Administrator</span>
          </div>
          <i class="fa custom-caret"></i>
        </a>
        <div class="dropdown-menu">
          <ul class="list-unstyled">
            <li class="dropdown-menu-header bk-bg-white bk-margin-top-15">
              <div class="progress progress-xs  progress-striped active">
                <div class="progress-bar progress-bar-primary" role="progressbar" aria-valuenow="60" aria-valuemin="0" aria-valuemax="100" style="width: 60%;">
                  60%
                </div>
              </div>
            </li>
            <li>
              <a href="page-profile.html"><i class="fa fa-user"></i> Profile</a>
            </li>
            <li>
              <a href="#"><i class="fa fa-wrench"></i> Settings</a>
            </li>
            <li>
              <a href="page-invoice"><i class="fa fa-usd"></i> Payments</a>
            </li>
            <li>
              <a href="#"><i class="fa fa-file"></i> File</a>
            </li>
            <li>
              <a href="page-login.html"><i class="fa fa-power-off"></i> Logout</a>
            </li>
          </ul>
        </div>
      </div>
      <!-- End Userbox -->
    </div>
    <!-- End Navbar Right -->
  </div>
</div>
<!-- End: Header -->

<!-- Start: Content -->
<div class="container-fluid content">
  <div class="row">

    <!-- Sidebar -->
    <div class="sidebar">
      <div class="sidebar-collapse">
        <!-- Sidebar Header Logo-->
        <div class="sidebar-header">
          <img src="../img/logo.png" class="img-flags" alt="" style="width: 60%;"/>
        </div>
        <!-- Sidebar Menu-->
        <div class="sidebar-menu">
          <nav id="menu" class="nav-main" role="navigation">
            <ul class="nav nav-sidebar">
              <div class="panel-body text-center">
                <div class="flag">
                  <!--<img src="../img/log.jpg" class="img-flags" alt="" />-->
                </div>
              </div>
              <li class="active">
                <a href="index.html">
                  <i class="fa fa-laptop" aria-hidden="true"></i><span>自夏学院</span>
                </a>
              </li>

              <li class="nav-parent">
                <a>
                  <i class="fa fa-copy" aria-hidden="true"></i><span>论坛分类</span>
                </a>
                <ul class="nav nav-children">
                  <li><a href="PrimaryClassification.html"><span class="text">二级论坛</span></a>


                  </li>
                  <li><a href="AddPrimaryClassification.html"><span class="text">添加论坛分类</span></a></li>
                </ul>
              </li>
              <li class="nav-parent">
                <a>
                  <i class="fa fa-copy" aria-hidden="true"></i><span>二级论坛</span>
                </a>
                <ul class="nav nav-children">
                  <li><a href="forumbinfo.html"><span class="text">论坛信息</span></a></li>
                  <li><a href="Addforumbinfo.html"><span class="text">添加论坛内容</span></a></li>
                </ul>
              </li>
              <li class="nav-parent">
                <a>
                  <i class="fa fa-copy" aria-hidden="true"></i><span>管理留言</span>
                </a>
                <ul class="nav nav-children">
                  <li><a href="forumcomment.html"><span class="text">论坛留言</span></a></li>
                  <li><a href="Addforumcomment.html"><span class="text">添加留言</span></a></li>
                </ul>
              </li>
            </ul>
          </nav>
        </div>
        <!-- End Sidebar Menu-->
      </div>
      <!-- Sidebar Footer-->
      <div class="sidebar-footer" style="display: none;">

      </div>
      <!-- End Sidebar Footer-->
    </div>
    <!-- End Sidebar -->

    <!-- Main Page -->
    <div class="main ">
      <!-- Page Header -->
      <div class="page-header">
        <div class="pull-left">
          <ol class="breadcrumb visible-sm visible-md visible-lg">
            <li><a href="index.html"><i class="icon fa fa-home"></i>Home</a></li>
            <li class="active"><i class="fa fa-laptop"></i>自夏学院</li>
          </ol>
        </div>
        <div class="pull-right">
          <h2>自夏学院</h2>
        </div>
      </div>
      <!-- End Page Header -->

      <div class="col-lg-12">
        <div class="panel panel-default bk-bg-white">
          <div class="panel-heading bk-bg-white">
            <h6><i class="fa fa-table red"></i><span class="break"></span>Striped</h6>
            <div class="panel-actions">
              <a href="#" class="btn-minimize"><i class="fa fa-caret-up"></i></a>
              <a href="#" class="btn-close"><i class="fa fa-times"></i></a>
            </div>
          </div>
          <div class="panel-body">
            <div class="table-responsive">
              <table class="table table-striped">
                <thead>
                <tr>

                  <th>论坛名称</th>
                  <th>作者</th>
                  <th>内容</th>
                  <th>浏览次数</th>
                  <th>发布时间</th>
                  <th>是否置顶</th>
                  <th>论坛图片</th>
                  <th>所属分类</th>
                  <th>操作</th>
                </tr>
                </thead>
                <tbody id="Teacherlistjs">
                <%for(var i=0;i<msg.length;i++){%>
                <tr>

                  <td>
                    <%if(msg[i].forumBName.length>10){%>
                    <%=msg[i].forumBName.substring(0,10)+"..."%>
                    <%}else{%>
                    <%=msg[i].forumBName%>
                    <%}%>
                  </td>
                  <td>
                    <%=msg[i].Nickname%>
                  </td>
                  <td><%if(msg[i].forumBContent.length>10){%>
                    <%=msg[i].forumBContent.substring(0,10)+"..."%>
                    <%}else{%>
                    <%=msg[i].forumBContent%>
                    <%}%>
                  </td>
                  <td>
                    <%=msg[i].forumBNum%>
                  </td>
                  <td>
                    <%=msg[i].forumBTime.toLocaleString()%>
                  </td>
                  <td>
                    <%if(msg[i].forumBUp!=0){%>
                    <span>是</span>
                    <%}else if(msg[i].forumBUp==0){%>
                    <span>否</span>
                    <%}%>
                  </td>
                  <td>
                    <img src="../img/<%=msg[i].forumbPic%>" style="width:50px;" />
                  </td>
                  <td>
                    <%=msg[i].forumAName%>
                  </td>
                  <td>
                    <a  type="button" class="btn btn-w-m btn-danger" onclick="return window.confirm('您是否要删除？')" href="forumbinfo.html?act=delete&forumBId=<%=msg[i].forumBId%>">删除</a>
                    <a type="button" class="btn btn-w-m btn-primary"  href="updateforumbinfo.html?forumBId=<%=msg[i].forumBId%>">编辑</a>
                  </td>
                </tr>
                <%}%>

                </tbody>
              </table>
            </div>
          </div>
        </div>
      </div>

      <div class="col-sm-12 col-md-6">
        <div class="dataTables_paginate paging_bs_normal" id="datatable-default_paginate">
          <ul class="pagination">
            <li class="prev"><a href="#"><span class="fa fa-chevron-left"></span></a></li>
            <li><a href="#">2</a></li>
            <li><a href="#">3</a></li>
            <li class="active"><a href="#">4</a></li>
            <li><a href="#">5</a></li>
            <li><a href="#">6</a></li>
            <li class="next"><a href="#"><span class="fa fa-chevron-right"></span></a></li>
          </ul>
        </div>
      </div>

      <!-- End Main Page -->

      <!-- Footer -->

      <!-- End Footer -->

    </div>
  </div>
  <!--/container-->

  <div class="clearfix"></div>

  <!-- start: JavaScript-->

  <!-- Vendor JS-->
  <script src="../assets/vendor/js/jquery.min.js"></script>
  <script src="../assets/vendor/js/jquery-2.1.1.min.js"></script>
  <script src="../assets/vendor/js/jquery-migrate-1.2.1.min.js"></script>
  <script src="../assets/vendor/bootstrap/js/bootstrap.min.js"></script>
  <script src="../assets/vendor/skycons/js/skycons.js"></script>
  <script src="../assets/vendor/js/pace.min.js"></script>

  <!-- Plugins JS-->
  <script src="../assets/plugins/jquery-ui/js/jquery-ui-1.10.4.min.js"></script>
  <script src="../assets/plugins/scrollbar/js/jquery.mCustomScrollbar.concat.min.js"></script>
  <script src="../assets/plugins/bootkit/js/bootkit.js"></script>
  <script src="../assets/plugins/magnific-popup/js/magnific-popup.js"></script>
  <script src="../assets/plugins/moment/js/moment.min.js"></script>
  <script src="../assets/plugins/fullcalendar/js/fullcalendar.js"></script>
  <script src="../assets/plugins/flot/js/jquery.flot.min.js"></script>
  <script src="../assets/plugins/flot/js/jquery.flot.pie.min.js"></script>
  <script src="../assets/plugins/flot/js/jquery.flot.resize.min.js"></script>
  <script src="../assets/plugins/flot/js/jquery.flot.stack.min.js"></script>
  <script src="../assets/plugins/flot/js/jquery.flot.time.min.js"></script>
  <script src="../assets/plugins/flot-tooltip/js/jquery.flot.tooltip.js"></script>
  <script src="../assets/plugins/chart-master/js/Chart.js"></script>
  <script src="../assets/plugins/jqvmap/jquery.vmap.js"></script>
  <script src="../assets/plugins/jqvmap/data/jquery.vmap.sampledata.js"></script>
  <script src="../assets/plugins/jqvmap/maps/jquery.vmap.world.js"></script>
  <script src="../assets/plugins/sparkline/js/jquery.sparkline.min.js"></script>

  <!-- Theme JS -->
  <script src="../assets/js/jquery.mmenu.min.js"></script>
  <script src="../assets/js/core.min.js"></script>

  <!-- Pages JS -->
  <script src="../assets/js/pages/index.js"></script>

  <!-- end: JavaScript-->

</body>

</html>
